<!doctype html>
<html lang="en">
<head>
	<title>添加出入库操作原因</title>
	<meta charset="UTF-8">
	<script type="text/javascript" src="__PUBLIC__/hdjs/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/hdjs/hdjs.css"/>
    <script type="text/javascript" src="__PUBLIC__/hdjs/hdjs.min.js"></script>
	<link href="__PUBLIC__/css/mine.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<div class="div_head">
		<span>
			<span style="float: left;">当前位置是：仓库管理 >>添加出入库操作原因</span>
		</span>
	</div>
	<div class="hd-w500" style="padding:20px;margin:0 auto">
    <form name="form1" method="post" action="__SELF__">
      <table class="hd-table hd-table-form hd-form">
		<thead>
        <tr>
          <th colspan="2">添加出入库操作原因</th>
        </tr>
		</thead>
        <tr>
          <td>选择操作行为：</td>
          <td><select name="a_mark" class="hd-w200">            
            <option value="1">入库</option>
            <option value="2">出库</option>
          </select></td>
        </tr>
        <tr>
          <td width="100">操作原因：</td>
          <td><input name="a_info" type="text" class="hd-w200"></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><input type="submit" class="hd-btn hd-btn-default" value="提交"></td>
        </tr>
      </table>
    </form>
	</div>
<!--表单验证Start-->
<script>
    $(function () {
        $('form').validate({
            a_info: {
                rule: {
                    required: true
                },
                error: {
                    required: '操作原因不能为空'
                },
                success: '',
                message: '请输入操作原因'
            },
        })
    })
</script>
<!--表单验证End-->
    </body>
</html>
